php force array keys to lowercase

41

php lowercase assoc array -

array_walk($yourArray, function(&$value)
{
  $value = strtolower($value);
});

lowercase in array php -

array_walk($yourArray, function(&$value)
{
  $value = strtolower($value);
});

Comments

Submit
0 Comments